Skip to main content

FlowGroup

Manages the workflow group settings, including members, positions, timeout options, and documents.

Properties

NameDescription
TimeoutOptionsDefines the timeout settings for the group.
CaptionThe caption dictionary representing localized captions for the flow object.
EnablePushNotificationGets or sets a value indicating whether push notification is enabled.
EnableOwnRequestSpecifies whether users can approve their own requests within this group.
ShowInFlowHistoryIndicates whether this group should appear in the workflow history.
HideApporoverInHistoryDetermines whether the approver's name is hidden in the workflow history.
TimeoutHourThe number of hours before a timeout occurs.
DetailObjectsDetail objects within the workflow group.
GeolocationOptionsGeolocation options for tracking workflow-related activities.
NotificationMessageGets the notification message associated with the message.
PositionGroupsRepresents the position groups associated with the workflow group.
EventsToCheckList of event IDs that should be checked for the workflow group.
MailSubjectGets the mail subject associated with the message.
PositionsRetrieves the positions resolved for the workflow group members.
ConflictStateEventIdEvent ID for handling conflict states in the group.
KeyA unique identifier for the workflow step.
AutoOpenApprovalOptionSpecifies whether approvals should open automatically upon group interaction.
TimeoutMinuteThe number of minutes before a timeout occurs.
NameName for the workflow step.
EmptyGroupEventIdSpecifies the event ID triggered when the group is empty.
EnableSendMailGets or sets a value indicating whether sending mail is enabled.
TableObjectsList of table objects relevant to the workflow group.
EventsRead-only list of events associated with the workflow group.
MailMessageGets the mail message associated with the message.
TimeoutDurationThe total timeout duration for the group.
IsCustomMailMessageGets or sets a value indicating whether the mail message is custom.
CustomMailMessageGets the custom mail message associated with the message.
MessageOptionsGets or sets the message options.
RequestIsNecessaryIfDocumentChangedSpecifies if a request is required when the document changes.
WorkflowCodeInstanceThe workflow code instance associated with the flow object.
DocumentsList of documents associated with the workflow group.
CachedDMObjectsThe cached document management objects related to the flow object.
WebNotificationOptionsGets or sets the web notification options.
NotificationCaptionGets the notification caption associated with the message.
AttachmentsGets the list of attachments associated with the message.
TypeCodeThe type code associated with the flow object.
DoNotSendRequestIfProcessedIndicates whether a request should be avoided if already processed.
CalculateUsingHolidaysDetermines whether holiday settings are considered in timeout calculations.
TimeoutDayThe number of days before a timeout occurs.
UsersRetrieves the users resolved for the workflow group members.
CalculateUsingWorkingHoursIndicates whether working hours are considered for timeout calculations.
MembersHolds the configuration for members within the group.
NotificationOptionsGets or sets the push notification options.

Constructors

NameDescription
FlowGroup(name, workflowData, workflowCodeInstance)Constructor for the FlowGroup class. Initializes a new instance of the FlowGroup class.
FlowGroup(name,workflowData,workflowCodeInstance)Initializes a new instance of the FlowGroup class.
FlowGroup(name, workflowData, workflowCodeInstance)Initializes a new instance of the FlowGroup class.

Methods

NameDescription
SendApprovalWebNotification(userInfo, requestItem)Sends a web notification for approval to the specified user.
AddDocument(flowDocument, viewName, viewId, panelSize, allowEdit, showEvents)Adds a document to the workflow group with various display options.
AddConstantUser(id, userName, userCode)Adds a constant user to the workflow group with additional details.
AddConstantPosition(id)Adds a constant position to the workflow group using its ID.
IsEmpty()Checks if the workflow group has no members or positions.
ClearGroup()Clears all members, positions, and related settings from the workflow group.
SendWebNotification(payloadType,userInfo,requestItem)Sends a web notification to a user.
AddConstantPosition(id, positionCode, positionDescription)Adds a constant position to the workflow group with additional details.
AddConstantUser(id)Adds a constant user to the workflow group using their ID.
GetUserInfo(requestItem)Retrieves user information for a given process request item.
SendRequestTimedOutWebNotification(userInfo, requestItem)Sends a real-time notification to the user indicating that the request has timed out, prompting the client to close any related open forms.
SendMail(requestItem, userInfo)Sends an email to a user associated with the process request.
AddDepartmentBasedUserGroup(departmentId, titleId)Adds a user group based on department and title to the workflow group.
Initialize()Initializes the workflow group with default configurations.
RemoveDocument(flowDocument)Removes a document from the workflow group.
ToLiquid()Converts the workflow group configuration into a Liquid-compatible format.
AddAttachment(value,type)Adds an attachment to the mail message.
SendRequestsCanceledWebNotification(userInfo, requestItem)Sends a real-time notification to the user indicating that the current request has been canceled, prompting the client to close any associated open forms.
SendPushNotification(userInfo,requestItem)Sends a push notification to a user.

Events

NameDescription
OnAfterExecution(sender, args)Occurs after the execution of the workflow step.
OnAfterEvent(sender, args)Occurs after the execution of the workflow step.
OnBeforeEvent(sender, args)Occurs after the execution of the workflow step.
OnBeforeExecution(sender, args)Occurs before the execution of the workflow step.